﻿using System;
using System.Collections.Generic;
using System.Linq;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Audio;
using Microsoft.Xna.Framework.Content;
using Microsoft.Xna.Framework.GamerServices;
using Microsoft.Xna.Framework.Graphics;
using Microsoft.Xna.Framework.Input;
using Microsoft.Xna.Framework.Media;


namespace WindowsGame1
{
    class Tiro : Object2D
    {
        float speed = 5f;

        public Tiro(Texture2D texture, Rectangle rect , Vector2 position) 
            : base(texture, rect, position) { }
        

        public override void Update()
        {
            Position += new Vector2(speed,0);
            base.Update();
        }

        public override void Draw(SpriteBatch spriteBatch)
        {
            base.Draw(spriteBatch);
        }

        public void Move(){
        }
    }
}
